package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author 少凡
 * @date 2020/3/3 11:52
 */
@Getter
public enum AccountStatusEnum {
    NORMAL(0,"正常"),
    ENABLED(1, "账号错误或不存在"),
    EXPIRED(2, "账号过期"),
    CREDENTIALS(3, "凭证过期"),
    LOCKED(4, "账号锁定"),;

    private Integer code;
    private String desc;

    AccountStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
